set thisPath=%~dp0
echo %thisPath% > test.txt



echo %LIST% > test.txt